﻿
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/Principal.master" CodeBehind="Consultar_DiasLibres.aspx.vb" Inherits="webNaviera.Consultar_DiasLibres" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
            width: 159px;
        }
        .style5
        {
        }
        .style7
        {
            height: 16px;
        }
        .style9
        {
        height: 16px;
        width: 42px;
    }
        .style10
        {
            width: 42px;
        }
        .style11
        {
            height: 16px;
            width: 289px;
        }
        .style12
        {
            width: 289px;
        }
        .style13
        {
        height: 16px;
        width: 240px;
    }
        .style14
        {
            width: 240px;
        }
        .style16
        {
        width: 61px;
    }
    .style17
    {
        width: 63px;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <script>

     var ventana_secundaria;
     var ventana_secundaria2;

     function abrirVentanaCons() {
         //guardo la referencia de la ventana para poder utilizarla luego 
         ventana_secundaria = window.showModalDialog("../popup/BuscarUsuarios.aspx?tipo=CON", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
         __doPostBack("MiFuncionPaquetes", "");
     }


//     function abrirDetalle() {
//         //guardo la referencia de la ventana para poder utilizarla luego 
//         ventana_secundaria2 = window.showModalDialog("../DiasLibres/DiasLibresPopup.aspx", "miventana", "dialogWidth:510;dialogheight:380;menubar=no")
//         __doPostBack("MiFuncionPaquetesD", "");
//     }
  </script>
    <p>


                        <table border="0" cellpadding="3" cellspacing="2" __designer:mapid="41c3">
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style5" colspan="8" 
                                    style="background-color: #BFDBFF">
                                    <asp:Label ID="Label11" runat="server" style="font-weight: 700" 
                                        Text="Consultar Dias Libres" ForeColor="#000066"></asp:Label>
                                </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style5" style="color: #808080">
                                    Servicio:
                                </td>
                                <td class="style2" __designer:mapid="4303" style="color: #808080">
                                   <asp:DropDownList ID="cboServicio" runat="server" Width="147px">
                    </asp:DropDownList>
                                </td>
                                <td class="style17" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style16" __designer:mapid="4348" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="43af" class="style13" style="color: #808080">
                                    Acuerdos:&nbsp;
                                    <asp:CheckBox ID="ChkTodos" runat="server" style="font-weight: 700" 
                                        Text="Todos" TextAlign="Left" />

                                    <asp:CheckBox ID="ChkVigente" runat="server" style="font-weight: 700" 
                                        Text="Vigentes" TextAlign="Left" />
                                </td>
                                <td __designer:mapid="43f3" class="style9" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style7" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style11" style="color: #808080">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style5" style="color: #808080">
                                    Cliente:</td>
                                <td class="style2" __designer:mapid="4303" style="color: #808080">
                                    <dx:ASPxTextBox runat="server" Width="147px" AutoCompleteType="None" 
                                        HorizontalAlign="NotSet" Height="21px" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" CssPostfix="Aqua" 
                                        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" ClientIDMode="AutoID" 
                                        ID="txtCodCsne" ReadOnly="True" MaxLength="6" Enabled="False">
                                        <MaskSettings IncludeLiterals="All">
                                        </MaskSettings>
                                        <MaskHintStyle Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </MaskHintStyle>
                                        <NullTextStyle HorizontalAlign="NotSet" Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </NullTextStyle>
                                        <ValidationSettings ErrorDisplayMode="ImageWithText" Display="Static" 
                                            ErrorTextPosition="Right">
                                            <ErrorImage Align="NotSet">
                                            </ErrorImage>
                                            <ErrorFrameStyle HorizontalAlign="NotSet" ImageSpacing="4px" 
                                                VerticalAlign="NotSet" Wrap="Default">
                                                <ErrorTextPaddings PaddingLeft="4px">
                                                </ErrorTextPaddings>
                                                <HoverStyle>
                                                    <BackgroundImage Repeat="Repeat">
                                                    </BackgroundImage>
                                                    <Border BorderStyle="NotSet">
                                                    </Border>
                                                    <BorderLeft BorderStyle="NotSet">
                                                    </BorderLeft>
                                                    <BorderTop BorderStyle="NotSet">
                                                    </BorderTop>
                                                    <BorderRight BorderStyle="NotSet">
                                                    </BorderRight>
                                                    <BorderBottom BorderStyle="NotSet">
                                                    </BorderBottom>
                                                </HoverStyle>
                                                <BackgroundImage Repeat="Repeat">
                                                </BackgroundImage>
                                                <Border BorderStyle="NotSet">
                                                </Border>
                                                <BorderLeft BorderStyle="NotSet">
                                                </BorderLeft>
                                                <BorderTop BorderStyle="NotSet">
                                                </BorderTop>
                                                <BorderRight BorderStyle="NotSet">
                                                </BorderRight>
                                                <BorderBottom BorderStyle="NotSet">
                                                </BorderBottom>
                                            </ErrorFrameStyle>
                                        </ValidationSettings>
                                        <ReadOnlyStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </ReadOnlyStyle>
                                        <FocusedStyle HorizontalAlign="NotSet" Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </FocusedStyle>
                                        <InvalidStyle HorizontalAlign="NotSet" Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </InvalidStyle>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxTextBox>
                                </td>
                                <td class="style17" __designer:mapid="4303" style="color: #808080">
                                    <dx:ASPxTextBox runat="server" Width="222px" AutoCompleteType="None" 
                                        HorizontalAlign="NotSet" Height="22px" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" CssPostfix="Aqua" 
                                        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" ClientIDMode="AutoID" 
                                        ID="txtCsne" MaxLength="80" Enabled="False">
                                        <MaskSettings IncludeLiterals="All">
                                        </MaskSettings>
                                        <MaskHintStyle Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </MaskHintStyle>
                                        <NullTextStyle HorizontalAlign="NotSet" Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </NullTextStyle>
                                        <ValidationSettings ErrorDisplayMode="ImageWithText" Display="Static" 
                                            ErrorTextPosition="Right">
                                            <ErrorImage Align="NotSet">
                                            </ErrorImage>
                                            <ErrorFrameStyle HorizontalAlign="NotSet" ImageSpacing="4px" 
                                                VerticalAlign="NotSet" Wrap="Default">
                                                <ErrorTextPaddings PaddingLeft="4px">
                                                </ErrorTextPaddings>
                                                <HoverStyle>
                                                    <BackgroundImage Repeat="Repeat">
                                                    </BackgroundImage>
                                                    <Border BorderStyle="NotSet">
                                                    </Border>
                                                    <BorderLeft BorderStyle="NotSet">
                                                    </BorderLeft>
                                                    <BorderTop BorderStyle="NotSet">
                                                    </BorderTop>
                                                    <BorderRight BorderStyle="NotSet">
                                                    </BorderRight>
                                                    <BorderBottom BorderStyle="NotSet">
                                                    </BorderBottom>
                                                </HoverStyle>
                                                <BackgroundImage Repeat="Repeat">
                                                </BackgroundImage>
                                                <Border BorderStyle="NotSet">
                                                </Border>
                                                <BorderLeft BorderStyle="NotSet">
                                                </BorderLeft>
                                                <BorderTop BorderStyle="NotSet">
                                                </BorderTop>
                                                <BorderRight BorderStyle="NotSet">
                                                </BorderRight>
                                                <BorderBottom BorderStyle="NotSet">
                                                </BorderBottom>
                                            </ErrorFrameStyle>
                                        </ValidationSettings>
                                        <ReadOnlyStyle HorizontalAlign="NotSet" VerticalAlign="NotSet" Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </ReadOnlyStyle>
                                        <FocusedStyle HorizontalAlign="NotSet" Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </FocusedStyle>
                                        <InvalidStyle HorizontalAlign="NotSet" Wrap="Default">
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </InvalidStyle>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxTextBox>
                                </td>
                                <td class="style16" __designer:mapid="4348" style="color: #808080">
                                    <img border="0"      src="../../res/img/search.gif" onclick ="abrirVentanaCons();" 
                                style="height: 19px" __designer:mapid="30c"/></td>
                                <td __designer:mapid="43af" class="style13" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style9" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style7" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style11" style="color: #808080">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4301">
                                <td __designer:mapid="4302" class="style5" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style2" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style17" __designer:mapid="4303" style="color: #808080">
                                    &nbsp;</td>
                                <td class="style16" __designer:mapid="4348" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="43af" class="style13" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="43f3" class="style9" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="43f4" class="style7" style="color: #808080">
                                    &nbsp;</td>
                                <td __designer:mapid="4438" class="style11" style="color: #808080">
                                    &nbsp;</td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4593">
                                <td __designer:mapid="4594" class="style5">
                                </td>
                                <td class="style2" __designer:mapid="4595">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Consultar" CssPostfix="Aqua" 
                                        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" ClientIDMode="AutoID" 
                                        ID="btnConsultar">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                </td>
                                <td class="style17" __designer:mapid="4595">
                                    &nbsp;</td>
                                <td class="style16" __designer:mapid="45fc">
                                    &nbsp;</td>
                                <td __designer:mapid="4663" class="style13">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Nuevo" CssPostfix="Aqua" ClientIDMode="AutoID" 
                                        ID="btnNuevo">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                </td>
                                <td __designer:mapid="46a7" class="style9">
                                    &nbsp;</td>
                                <td __designer:mapid="46a8" class="style7">
                                    &nbsp;</td>
                                <td __designer:mapid="46ec" class="style11">
                                    <dx:ASPxButton runat="server" ImagePosition="Left" 
                                        SpriteCssFilePath="~/App_Themes/Aqua/{0}/sprite.css" HorizontalAlign="NotSet" 
                                        VerticalAlign="NotSet" Wrap="Default" Text="Salir" CssPostfix="Aqua" 
                                        CssFilePath="~/App_Themes/Aqua/{0}/styles.css" ClientIDMode="AutoID" 
                                        ID="btnSalir">
                                        <Image Align="NotSet">
                                        </Image>
                                        <CheckedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </CheckedStyle>
                                        <PressedStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </PressedStyle>
                                        <HoverStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </HoverStyle>
                                        <FocusRectBorder BorderStyle="NotSet">
                                        </FocusRectBorder>
                                        <BackgroundImage Repeat="Repeat">
                                        </BackgroundImage>
                                        <Border BorderStyle="NotSet">
                                        </Border>
                                        <BorderLeft BorderStyle="NotSet">
                                        </BorderLeft>
                                        <BorderTop BorderStyle="NotSet">
                                        </BorderTop>
                                        <BorderRight BorderStyle="NotSet">
                                        </BorderRight>
                                        <BorderBottom BorderStyle="NotSet">
                                        </BorderBottom>
                                        <DisabledStyle>
                                            <BackgroundImage Repeat="Repeat">
                                            </BackgroundImage>
                                            <Border BorderStyle="NotSet">
                                            </Border>
                                            <BorderLeft BorderStyle="NotSet">
                                            </BorderLeft>
                                            <BorderTop BorderStyle="NotSet">
                                            </BorderTop>
                                            <BorderRight BorderStyle="NotSet">
                                            </BorderRight>
                                            <BorderBottom BorderStyle="NotSet">
                                            </BorderBottom>
                                        </DisabledStyle>
                                    </dx:ASPxButton>
                                </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="487c">
                                <td colspan="8" style="background-color: #BFDBFF" __designer:mapid="487d">
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr class="TRlist3" __designer:mapid="4b1b">
                                <td __designer:mapid="4b1c" class="style5">
                                    &nbsp;</td>
                                <td class="style2" __designer:mapid="4b1d">
                                    &nbsp;</td>
                                <td class="style17" __designer:mapid="4b1d">
                                    &nbsp;</td>
                                <td class="style16" __designer:mapid="4b1f">
                                    &nbsp;</td>
                                <td __designer:mapid="4b21" class="style14">
                                    &nbsp;</td>
                                <td __designer:mapid="4b22" class="style10">
                                    &nbsp;</td>
                                <td __designer:mapid="4b23">
                                    &nbsp;</td>
                                <td __designer:mapid="4b24" class="style12">
                                    &nbsp;</td>
                            </tr>
                        </table>

                        <table _designer:mapid="41c3">
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5" rowspan="17" style="vertical-align: top">
                                	
		 	 	  	 						
			
                                    <asp:GridView ID="dgDiasLibres" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="Vertical" 
                                        OnPageIndexChanging="Cambiarpagina"  Width="1087px" 
                                        Height="192px" AllowPaging="True" AllowSorting="True" PageSize="12">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns>
                                            <asp:BoundField DataField="Tipo" HeaderText="Tipo" />
                                            <asp:BoundField DataField="CodCli" HeaderText="Código" Visible="False" />
                                            <asp:BoundField DataField="DesCli" HeaderText="Razón Social" />
                                            <asp:BoundField DataField="CodEmb" HeaderText="Cod. Embarcador"  Visible="False"/>
                                            <asp:BoundField DataField="DesEmb" HeaderText="Embarcador" />
                                            <asp:BoundField DataField="Kdli" HeaderText="KDLI" Visible="False" /> 
                                            <asp:BoundField DataField="NAcuerdo" HeaderText="Nro. Acuerdo" />
                                            <asp:BoundField DataField="Dias" HeaderText="Dias Libres"  />
                                            <asp:BoundField DataField="AplHijo" HeaderText="Aplica HIjo" />
                                            <asp:BoundField DataField="IniVig" HeaderText="Ini. Vigencia"   />
                                            <asp:BoundField DataField="FinVig" HeaderText="Fin Vigencia" />
                                            <asp:BoundField DataField="Serv" HeaderText="Servicio" />
                                            <asp:BoundField DataField="Ucre" HeaderText="UCRE" />
                                            <asp:BoundField DataField="FCre" HeaderText="FCRE" />
                                            <asp:BoundField DataField="UMod" HeaderText="UMOD" />
                                            <asp:BoundField DataField="FMod" HeaderText="FMOD" />
                                            <asp:BoundField DataField="Prio" HeaderText="PRIO" Visible="False" />
                                            <asp:TemplateField HeaderText="Seleccionar">
                                              <ItemTemplate>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:ImageButton ID="imgDetalle" runat="server" 
                                                        CommandArgument='<%#Eval("Kdli")%>' CommandName="Detalle" Height="19px" 
                                                        ImageUrl="~/res/img/DetalleDiasLibres.jpg" Width="16px" 
                                                        />
                                       <%--  onclick='<%# "window.open('../DiasLibres/DiasLibresPopup.aspx?Kacu="+ Eval("Kdli") +"')" %>'--%>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Editar">
                                                <ItemTemplate>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:ImageButton ID="ImagenEditar1" runat="server" 
                                                        CommandArgument='<%#Eval("Kdli")%>' CommandName="Editar" Height="19px" 
                                                        ImageUrl="~/res/img/icono_editar.gif" Width="16px" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Eliminar">
                                                <ItemTemplate>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:ImageButton ID="imgEliminar" runat="server" 
                                                        CommandArgument='<%#Eval("Kdli")%>' CommandName="Eliminar" Height="19px" 
                                                        ImageUrl="~/res/img/icono_eliminar.gif" Width="16px" />
                                       
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                                </td>
                        <td __designer:mapid="41ca" class="style5" rowspan="17" style="vertical-align: top">
                                	
		 	 	  	 						
			
                                    &nbsp;</td>
                        <td __designer:mapid="41ca" class="style5">
                            <asp:Label ID="Label5" runat="server" Style="height: 16px; text-decoration: underline;
                                                color: #0000FF; font-weight: bold;" Text="Contenedores"></asp:Label>
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                        <asp:GridView ID="dlContenedores" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="201px" 
                                        Height="160px">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns> 
                                            <%--<asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                            <asp:BoundField DataField="Viaje" HeaderText="Viaje"  Visible="False"/>
                                            <asp:BoundField DataField="Nave" HeaderText="Nave" /> 
                                            <asp:BoundField DataField="Kbli" HeaderText="Kbli"  Visible="False"/>
                                            <asp:BoundField DataField="NroBL" HeaderText="Nro. BL" /> 
                                            <asp:BoundField DataField="NroCtnr" HeaderText="Nro. Ctr." /> 
                                            <asp:BoundField DataField="DiasDet" HeaderText="Dias Libres"   Visible="False" />  --%>

                                             <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" visible=false />
                                           <asp:BoundField DataField="Viaje" HeaderText="Viaje" visible=false />
                                            <asp:BoundField DataField="Kbli" HeaderText="Kbli" visible=false/>
                                            <asp:BoundField DataField="PrefCtnr" HeaderText="PrefCtnr" visible=false/>
                                            <asp:BoundField DataField="NumCtnr" HeaderText="NumCtnr" visible=false/>
                                            <asp:BoundField DataField="NroCtnr" HeaderText="Nro. Ctnr" /> 
                                             <asp:BoundField DataField="DiasDet" HeaderText="DiasDet" visible=false />
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                        
                        </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            &nbsp;</td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            <asp:Label ID="Label4" runat="server" Style="height: 16px; text-decoration: underline;
                                                color: #0000FF; font-weight: bold;" Text="Bill of Lading"></asp:Label>
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                        			
                        <asp:GridView ID="dlBL" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="201px" 
                                        Height="160px">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns> 
                                            <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                            <asp:BoundField DataField="Viaje" HeaderText="Viaje"  Visible="False"/>
                                           <%--' <asp:BoundField DataField="Nave" HeaderText="Nave" /> --%>
                                            <asp:BoundField DataField="Kbli" HeaderText="Kbli"  Visible="False"/>
                                            <asp:BoundField DataField="NroBL" HeaderText="Nro. Bl"  />  
                                            <asp:BoundField DataField="DiasDet" HeaderText="Dias Libres"   Visible="False" />
                                            
                                               
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                        
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            &nbsp;</td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            <asp:Label ID="Label9" runat="server" Style="height: 16px; text-decoration: underline;
                                                color: #0000FF; font-weight: bold;" Text="TipoPies"></asp:Label>
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                        <asp:GridView ID="dlTipoPies" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="201px" 
                                        Height="160px">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns> 
                                            <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                            <asp:BoundField DataField="TipCar" HeaderText="Tipo Carga"  Visible="False" />
                                            <asp:BoundField DataField="DesCar" HeaderText="Carga" /> 
                                            <asp:BoundField DataField="DesTPies" HeaderText="Tipo Pies" /> 
                                            <asp:BoundField DataField="TipCtnr" HeaderText="Tipo Contenedor"  Visible="False" />
                                            <asp:BoundField DataField="Pies" HeaderText="Pies"  Visible="False" /> 
                                            <asp:BoundField DataField="CTipo" HeaderText="CTipo" /> 
                                            <asp:BoundField DataField="DiasDet" HeaderText="Dias Libres"  />  

                                             
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                        
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            &nbsp;</td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            <asp:Label ID="Label2" runat="server" Style="height: 16px; text-decoration: underline;
                                        color: #0000FF; font-weight: bold;" Text="Label">Puerto</asp:Label>
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                        <asp:GridView ID="dlPuertos" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="201px" 
                                        Height="160px">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns> 
                                            <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                            <asp:BoundField DataField="CodPTo" HeaderText="CodPTo"  Visible="False"/>
                                            <asp:BoundField DataField="DesPto" HeaderText="DesPto" /> 
                                            <asp:BoundField DataField="DiasDet" HeaderText="Dias Libres"    Visible="False"/>  
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                        
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            &nbsp;</td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            <asp:Label ID="Label6" runat="server" Style="height: 16px; text-decoration: underline;
                                                color: #0000FF; font-weight: bold;" Text="País"></asp:Label>
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                        <asp:GridView ID="dlPais" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="201px" 
                                        Height="160px">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns> 
                                            <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                            <asp:BoundField DataField="CodPais" HeaderText="CodPais"  Visible="False"/>
                                            <asp:BoundField DataField="DesPais" HeaderText="DesPais" /> 
                                            <asp:BoundField DataField="DiasDet" HeaderText="Dias Libres"    Visible="False"/>  
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                        
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            &nbsp;</td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                            <asp:Label ID="Label3" runat="server" Style="height: 16px; text-decoration: underline;
                                                color: #0000FF; font-weight: bold;" Text="Label">Área</asp:Label>
                            </td>
                        </tr>
                        <tr  class="TRlist3" __designer:mapid="41c9">
                        <td __designer:mapid="41ca" class="style5">
                        			
                        <asp:GridView ID="dlArea" runat="server" AutoGenerateColumns="False" 
                                        CellPadding="4" ForeColor="#333333" GridLines="None" Width="201px" 
                                        Height="160px">
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns> 
                                            <asp:BoundField DataField="KdliDet" HeaderText="KdliDet" Visible="False" />
                                            <asp:BoundField DataField="CodArea" HeaderText="CodArea"  Visible="False"/>
                                            <asp:BoundField DataField="Area" HeaderText="Area" /> 
                                            <asp:BoundField DataField="DiasDet" HeaderText="Dias Libres"    Visible="False"/>  
                                        </Columns>
                                        <EditRowStyle BackColor="#2461BF" />
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#F5F7FB" />
                                        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                                        <SortedDescendingCellStyle BackColor="#E9EBEF" />
                                        <SortedDescendingHeaderStyle BackColor="#4870BE" />
                                    </asp:GridView>
                        
                            </td>
                        </tr>
                        </table>

</p>
</asp:Content>
